package com.cdks.wuxiu.entity.mysql;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;


/**
 * 用户账单信息表
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("user_bill_info")
public class UserBillInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间戳
     */
    @TableField("createTime")
    private Long createTime;

    /**
     * 支出用户id
     */
    @TableField("payerId")
    private Long payerId;

    /**
     * 收益用户id
     */
    @TableField("earnerId")
    private Long earnerId;

    /**
     * 账单支出金额
     */
    @TableField("payBill")
    private Integer payBill;    

    /**
     * 账单收入金额
     */
    @TableField("earnBill")
    private Integer earnBill;
    
    /**
     * 实际支出心豆
     */
    @TableField("payReal")
    private Integer payReal;    

    /**
     * 实际收入金额
     */
    @TableField("earnReal")
    private Integer earnReal;    

    /**
     * 积分扣除金额
     */
    @TableField("payScore")
    private Integer payScore; 

    /**
     * 支出费用类型
     */
    @TableField("payType")
    private Integer payType; 

    /**
     * 收入费用类型
     */
    @TableField("earnType")
    private Integer earnType; 

    /**
     * 业务溯源id
     */
    @TableField("traceId")
    private Long traceId; 

    /**
     * 账单信息描述
     */
    @TableField("remark")
    private String remark;        
}
